package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description: 课程媒资不匹配异常
 * @author 勾新杰
 * @version 1.0
 * @date 2025/2/16 15:09
 */
public class CourseMediaNotBelongException extends XCPlusBaseException {

    CourseMediaNotBelongException(String message){
        super(message);
    }

    public static void cast(){
        throw new CourseMediaNotBelongException(ContentError.COURSE_MEDIA_NOT_BELONG.getErrMessage());
    }
}
